#ifndef												__AUDIOMODULE_H__
#define												__AUDIOMODULE_H__

#include											<map>
#include											"AModule.h"
#include											"byte.h"
#include											"protocol.h"

class												AudioModule : public AModule
{
public:
	AudioModule();
	virtual ~AudioModule();

public:
	virtual void									init();
	virtual void									interpret(Packet*);
	typedef bool									(AudioModule::*func)(Packet*);

private:
	std::map<ProtocolAudio, func>					_opMap;

private:
	bool											chgvol(Packet *);
	bool											audiopacket(Packet *);
};

#endif // !__AUDIOMODULE_H__
